package com.fuyao.cloud.asset.inventory.enums;

import com.fuyao.cloud.common.core.enums.BaseEnum;

/**
 * 状态枚举类
 *
 * @author lyhil
 */
public enum InventoryTaskStatusEnum implements BaseEnum {

	/**
	 * 未下发
	 */
	DRAFT("0", "草稿"),
	/**
	 * 已下发
	 */
	HASISSUED("1", "已下发"),
	/**
	 * 已审批
	 */
	COUNTED("2", "已盘点"),
	/**
	 * 作废
	 */
	INVALID("9", "已作废");

	private String code;
	private String name;

	private InventoryTaskStatusEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	@Override
	public String getCode() {
		return this.code;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
